package com.atguigu.gulimall.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "gulimall.thread")// 绑定
@Component
@Data
public class ThreadPoolConfigProperties {
    private Integer coreSize;// 核心大小
    private Integer maxSize;// 最大线程数
    private Integer keepAliveTime;// 存活时间


}
